package com.example.spring.mono.service;

import com.example.spring.mono.entity.Order;
import org.springframework.http.ResponseEntity;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

public interface OrderService {

    public Mono<Order>saveOrder( Order order);
    public Flux<Order> getAll();
    public  Mono<ResponseEntity<Order>>findOrderByOrderNo(String orderNo );
    Mono<ResponseEntity<Void>> delOrderByOrderNo(String orderNo);

}
